import {View,Text,TouchableOpacity,StyleSheet,ScrollView} from 'react-native';
import {MaterialIcons} from '@expo/vector-icons';
import '../../global'
const Help = () => {
    return (
        <ScrollView>
            <View>
                <TouchableOpacity>
                    <View style={[styles.list,{marginBottom:0}]}>
                        <Text style={styles.listtxt}>如何修改目标院校/专业？</Text>
                        <MaterialIcons name="keyboard-arrow-right" size={24} color="black" style={styles.arrow}/>
                    </View>
                </TouchableOpacity>
                
                <TouchableOpacity>
                    <View style={[styles.list,{marginBottom:0}]}>
                        <Text style={styles.listtxt}>如何删帖？</Text>
                        <MaterialIcons name="keyboard-arrow-right" size={24} color="black" style={styles.arrow}/>
                    </View>
                </TouchableOpacity>

                <TouchableOpacity>
                    <View style={styles.list}>
                        <Text style={styles.listtxt}>如何找回密码？</Text>
                        <MaterialIcons name="keyboard-arrow-right" size={24} color="black" style={styles.arrow}/>
                    </View>
                </TouchableOpacity>

                <TouchableOpacity>
                    <View style={styles.list}>
                        <Text style={styles.listtxt}>如何修改用户名/昵称？</Text>
                        <MaterialIcons name="keyboard-arrow-right" size={24} color="black" style={styles.arrow}/>
                    </View>
                </TouchableOpacity>

                <TouchableOpacity>
                    <View style={[styles.list,{marginBottom:0}]}>
                        <Text style={styles.listtxt}>账户被封禁怎么办？</Text>
                        <MaterialIcons name="keyboard-arrow-right" size={24} color="black" style={styles.arrow}/>
                    </View>
                </TouchableOpacity>

                <TouchableOpacity>
                    <View style={styles.list}>
                        <Text style={styles.listtxt}>发帖/回帖不成功怎么办？</Text>
                        <MaterialIcons name="keyboard-arrow-right" size={24} color="black" style={styles.arrow}/>
                    </View>
                </TouchableOpacity>
                
                <TouchableOpacity>
                    <View style={styles.list}>
                        <Text style={styles.listtxt}>哪里能查看历史推送消息？</Text>
                        <MaterialIcons name="keyboard-arrow-right" size={24} color="black" style={styles.arrow}/>
                    </View>
                </TouchableOpacity>

                <TouchableOpacity>
                    <View style={[styles.list,{marginBottom:0}]}>
                        <Text style={styles.listtxt}>登陆后显示未登录怎么办？</Text>
                        <MaterialIcons name="keyboard-arrow-right" size={24} color="black" style={styles.arrow}/>
                    </View>
                </TouchableOpacity>

                <TouchableOpacity>
                    <View style={styles.list}>
                        <Text style={styles.listtxt}>考研倒计时为何略有偏差？</Text>
                        <MaterialIcons name="keyboard-arrow-right" size={24} color="black" style={styles.arrow}/>
                    </View>
                </TouchableOpacity>
            </View>
            <View style={styles.btn}>
                <TouchableOpacity style={styles.left}>
                     <Text style={styles.txt}>发表反馈</Text>
                </TouchableOpacity>
                <TouchableOpacity style={styles.right}>
                     <Text style={styles.txt}>我的反馈</Text>
                </TouchableOpacity>
            </View>
            
        </ScrollView>
    )
}
const styles=StyleSheet.create({
    list:{
        marginBottom:changeH(20),
        height:changeH(120),
        backgroundColor:'white',
        position:"relative"
    },
    listtxt:{
        fontSize:changeW(30),
        color:'rgba(0,0,0,0.7)',
        position:'absolute',
        left:changeW(50),
        top:changeH(45)
    },
    arrow:{
        position:'absolute',
        right:changeW(30),
        top:changeH(40)
    },
    btn:{
        marginTop:changeH(130),
        position:'relative'
    },
    left:{
        width:changeW(375),
        height:changeH(80),
        backgroundColor:'rgb(220,220,220)',
        position:'absolute',
        left:changeW(0),
        bottom:changeH(10),
        justifyContent:'center',
        alignItems:'center'
    },
    right:{
        width:changeW(375),
        height:changeH(80),
        backgroundColor:'rgb(255,200,126)',
        position:'absolute',
        right:changeW(0),
        bottom:changeH(10),
        justifyContent:'center',
        alignItems:'center'
    },
    txt:{
        fontSize:changeW(30),
        color:'rgba(255,255,255,0.9)'
    }
})
export default Help